﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Reportes.aspx.cs" Inherits="API_CIC.Reportes.Reportes" %>
<%@ Register assembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" namespace="CrystalDecisions.Web" tagprefix="CR" %>
<%@ Register assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" namespace="Microsoft.Reporting.WebForms" tagprefix="rsweb" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">
        .style3
        {
            width: 156px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <p>
     <center><h1>Reportes</h1></center>
    <table style="width:100%;">
        <tr>
            <td class="style3" valign="top">
                <asp:Menu ID="Menu1" runat="server" onmenuitemclick="Menu1_MenuItemClick">
                    <Items>
                        <asp:MenuItem Text="Proyectos Activos" Value="0"></asp:MenuItem>
                        <asp:MenuItem Text="Proyectos Finalizados" Value="1"></asp:MenuItem>
                        <asp:MenuItem Text="Usuarios Activos" Value="2">
                        </asp:MenuItem>
                        <asp:MenuItem Text="Usuarios Inactivos" Value="3"></asp:MenuItem>
                    </Items>
                </asp:Menu>
            </td>
            <td class="rightColumn" valign="top">
                <asp:MultiView ID="MultiView1" runat="server" ActiveViewIndex="0">
                    <asp:View ID="View1" runat="server">
                        <asp:ScriptManager ID="ScriptManager1" runat="server">
                        </asp:ScriptManager>
                        <rsweb:ReportViewer ID="ReportViewer1" runat="server" Font-Names="Verdana" 
                            Font-Size="8pt" InteractiveDeviceInfos="(Collection)" 
                            WaitMessageFont-Names="Verdana" WaitMessageFont-Size="14pt" Width="761px">
                            <LocalReport ReportPath="Reportes\ProyectosActivos.rdlc">
                                <DataSources>
                                    <rsweb:ReportDataSource DataSourceId="LinqDataSource1" Name="DataSetPA" />
                                </DataSources>
                            </LocalReport>
                        </rsweb:ReportViewer>
                        <asp:LinqDataSource ID="LinqDataSource1" runat="server" 
                            ContextTypeName="API_CIC.LinqClasesDataContext" EntityTypeName="" 
                            TableName="VW_REPORTE_PROYECTOSACTIVOs">
                        </asp:LinqDataSource>
                    </asp:View>
                    <asp:View ID="View2" runat="server">
                        <rsweb:ReportViewer ID="ReportViewer2" runat="server" Font-Names="Verdana" 
                            Font-Size="8pt" InteractiveDeviceInfos="(Collection)" 
                            WaitMessageFont-Names="Verdana" WaitMessageFont-Size="14pt" Width="761px">
                            <LocalReport ReportPath="Reportes\ProyectosFinalizados.rdlc">
                                <DataSources>
                                    <rsweb:ReportDataSource DataSourceId="LinqDataSource1" Name="DataSet1" />
                                </DataSources>
                            </LocalReport>
                        </rsweb:ReportViewer>
                    </asp:View>
                    <br />
                    <asp:View ID="View3" runat="server">
                        <rsweb:ReportViewer ID="ReportViewer3" runat="server" Font-Names="Verdana" 
                            Font-Size="8pt" InteractiveDeviceInfos="(Collection)" 
                            WaitMessageFont-Names="Verdana" WaitMessageFont-Size="14pt" Width="761px">
                            <LocalReport ReportPath="Reportes\UsuariosActivos.rdlc">
                                <DataSources>
                                    <rsweb:ReportDataSource DataSourceId="LinqDataSource1" Name="DataSet1" />
                                </DataSources>
                            </LocalReport>
                        </rsweb:ReportViewer>
                    </asp:View>
                    <asp:View ID="View4" runat="server">
                        <rsweb:ReportViewer ID="ReportViewer4" runat="server" Font-Names="Verdana" 
                            Font-Size="8pt" InteractiveDeviceInfos="(Collection)" 
                            WaitMessageFont-Names="Verdana" WaitMessageFont-Size="14pt" Width="761px">
                            <LocalReport ReportPath="Reportes\UsuariosInactivos.rdlc">
                                <DataSources>
                                    <rsweb:ReportDataSource DataSourceId="LinqDataSource1" Name="DataSet1" />
                                </DataSources>
                            </LocalReport>
                        </rsweb:ReportViewer>
                    </asp:View>
                    <br />
                </asp:MultiView>
             </td>
            </tr>
         </table>
    </p>
</asp:Content>
